﻿

using Company.Shell.Models;
using System.Collections.ObjectModel;

namespace Company.Shell.Interfaces
{
    /// <summary>
    /// 房间管理器
    /// </summary>
    public interface IRoomManager
    {
        /// <summary>
        /// 所有房间
        /// </summary>
        ObservableCollection<RoomEntity> Rooms { get; }
        /// <summary>
        /// 当前房间
        /// </summary>
        RoomEntity? CurrentRoom { get;  }
        /// <summary>
        /// 房间初始化
        /// </summary>
        /// <returns></returns>
        Task Initialize();
    }
}
